package com.ipet.modules.sys.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-05-20 18:00:32
 */
@TableName("registration")
public class RegistrationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 挂号号码
	 */
	private Integer registrNo;
	/**
	 * 宠物id
	 */
	private Integer petId;
	/**
	 * 金额
	 */
	private BigDecimal amount;
	/**
	 * 挂号时间
	 */
	private Date createTime;

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：挂号号码
	 */
	public void setRegistrNo(Integer registrNo) {
		this.registrNo = registrNo;
	}
	/**
	 * 获取：挂号号码
	 */
	public Integer getRegistrNo() {
		return registrNo;
	}
	/**
	 * 设置：宠物id
	 */
	public void setPetId(Integer petId) {
		this.petId = petId;
	}
	/**
	 * 获取：宠物id
	 */
	public Integer getPetId() {
		return petId;
	}
	/**
	 * 设置：金额
	 */
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	/**
	 * 获取：金额
	 */
	public BigDecimal getAmount() {
		return amount;
	}
	/**
	 * 设置：挂号时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：挂号时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
}
